﻿using SqlSugar;
using System;
using System.Linq;
using System.Text;

namespace apitest.Application.Entities.Pms
{
    ///<summary>
    /// 生产投料中间体主表
    ///</summary>
    [SugarTable("Production_Intermediate")]
    [Tenant("pms")]
    public partial class Production_Intermediate
    {
        public Production_Intermediate()
        {


        }
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Code { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Site { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public double Num { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public double Price { get; set; }

        /// <summary>
        /// Desc:
        /// Default:
        /// Nullable:True
        /// </summary>           
        public double Amount { get; set; }

        public double InitNum { get; set; }
        public double DevicePrice { get; set; }
        public double DeviceAmount { get; set; }
        public double MaterialPrice { get; set; }
        public double MaterialAmount { get; set; }
        public double UserPrice { get; set; }
        public double UserAmount { get; set; }
        public double IntermediatePrice { get; set; }
        public double IntermediateAmount { get; set; }
        public double MaterialCost { get; set; }
        public double WastesAmount { get; set; }
        public double COGPrice { get; set; }
        public double COGAmount { get; set; }
    }
}
